package com.zs.games.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zs.games.entity.GameNews;
import com.zs.games.entity.UserDynamic;
import com.zs.games.param.PageQuery;
import com.zs.games.param.UserAddDynamicParam;
import com.zs.games.param.UserCommentNewParam;
import com.zs.games.param.UserCommentParam;
import com.zs.games.vo.GameNewVo;
import com.zs.games.vo.UserDynamicVo;

public interface UserDynamicService extends IService<UserDynamic> {
    IPage<UserDynamicVo> getPage(PageQuery param);
    Boolean createDynamic(UserAddDynamicParam param);
    Boolean deleteDynamic(Integer dynamicId);
    Boolean praiseDynamic(Integer dynamicId);
    Boolean cancelPraiseDynamic(Integer dynamicId);

    Boolean commentDynamic(UserCommentParam param);

    Boolean deleteCommentDynamic(Integer dynamicId);

}
